/****************************************************************

8080disasm,the 8080 cpu disassembeler by Elizeu Carlos aka wrproject
@Authors: Elizeu Carlos
contact: mixeliseu13_8@hotmail.com  elizeucc@gmail.com
*******************************************************************/

#include <cstdlib>
#include <iostream>
#include <string>
#include "functions.h"
class _80disasm
{
    

private:
bool export_to_file;
char temp[50]; //buffer
std::string output;
int ptr; //the memory pointer  
int* MEMORY; //the memory containing the program      
int size;
void fetch(int opcode); //this metod will show the mnemonic instructions
FILE * pFile;
public:
_80disasm(int* memory,int file_size);

~_80disasm();
     
void exec();     
 
void setExport(bool v);

std::string getOutput();
    
};
